#include "Unit.h"
#include "Length.h"

Length::Length(const int& value_i, Unit& unit_i):
    Metrology(value_i, unit_i)
{
}

bool Length::operator == (const Length& length_i) const
{
    return isEqual(*this, length_i);
}

bool Length::operator != (const Length& length_i) const
{
    return !(*this == length_i);
}

Length Length::operator+ (const Length& length_i) const
{
    return Length(add(*this,length_i), BASELENGTH);
}


